corrected account lookup to comply with mongoid update