update db for image change, view not loading change without hard refresh