add associations and front end updates