Update assets hook