update user_assignment model with attachment