update upload images and link facebook login