device edit not posting to db, commiting before troubleshooting