updating prepare syntax