update adopt status sql