Update items in list when one is edited or a new one is saved and show form errors for invalid entries