changed role_id to integer