role insert query change