adjusted for unique skill by user, and added update statement.