added interface to update current location and started working on the model