updating back buttons