Fixed a bug with update_at on updates.  The entity needs to be set as a dynamic var so that update-at works.