update media and make profile picture work