improve upload staff photo and update staff photo function