added update resource
fixed syntax error
merged branch depends