Justin Bieber is trying to ''be a better person.''

The 20-year-old star - who is set to appear in court in Miami on May 5 to face charges for Driving Under the Influence (DUI), resisting arrest and possessing an invalid driver's licence in January - is ''ready to make some changes in his life'' and has distanced himself from ''bad influences.''

A source told E! News: ''He's making more of an effort to hang out with people who are positive influences in his life.''

News of Justin's reformed attitude follows his latest reconciliation with on-again, off-again girlfriend Selena Gomez, whom he spent the weekend with at the Coachella Valley Music and Arts Festival in Indio, California.

The source said: ''He has started listening to the people around him and he knows it is not too late to change things. He's being more selective with his friends. He wants people around him that will help him and guide him and keep him on the right path.''

The insider added: ''There has been a real maturing recently. This whole process has been a growing period for him and he has finally woken up to realise what he needs to do to get back on track and be the Justin Bieber he used to be. He's ready to change and be a better person before it's too late.''

The 'Heartbreaker' hitmaker was spotted dancing at Bootsy Bellows in West Hollywood with friends on Tuesday night (15.04.14) but an eyewitness said he was on his best behaviour, adding: ''Girls might have been trying to get his attention, but he was not interested at all. He just wanted to be there, eat some food and dance to the music with his friends.''