implemented image library update, button bugfix