update profile picture and delete useless things