updated user_details schema type