added checkins field to the locations update function