Fixed bug in update_prespective