gallery edit/upload update + register