fixed updatelocation to handle inactive players