completed editing functionality and fixed cover photo bug