Fix bug: Available sources for edit forms
Fix bug: HABTMS not saved while updating forms