Update profile adn image controllers code