updated update and edit functionality
users will be redirected back to the projects page now