Fixed issue with plant edits not persisting in database