Added update and create button to the edit and new views