initial commit - fix editing and updating in admin