removed unused role
fixed update method