Updatet Guard detection and Movement