added good behavior
added edit put functionality