Fixes on upload image (front end) and renamed APIs