helpers edit and new