update sql and readme