Syncing up the image upload from controller