updating gems and userdata