added relations to users model and fixed updating of gpa field