Updating widget position