Fixed updating issue

Update page was not added into database