Update User.php

update many to many mapping type